#ifndef MVCD_H
#define MVCD_H
#include "ui_mvcd.h"
#include <QDialog>
#include <QtCore>
#include <QItemDelegate>
#include <mvc_model.h>
#include <mvc_delegate.h>


namespace Ui
{
    class mvcd;
}



class MVCD : public QDialog
{
    Q_OBJECT
public:
    explicit MVCD(QDialog *parent = 0);
    ~MVCD();
    void init(QMap<QString,int > init_datamap);
    bool initialized;
    void set_datamap( QMap<QString,int >* datamap,uint checktype);
    void read_IO_setting_data(QMap<QString,int>& datamap);
signals:

public slots:


private:
    Ui::mvcd *ui;
    mvc_model mvcm;
    Delegate delegate;
    QMap<QString,int >* mvcd_datamap;
    uint checktype;
private slots:
    void savedata();
    void on_pushButton_clicked();
    void on_buttonBox_accepted();
};

#endif // MVCD_H
